ContentType

public final static ContentType ContentType(String mediaType, Charset charset, String boundary)
public final static ContentType ContentType(String mediaType, Charset charset, String boundary)

Creates a new instance of ContentType with the given parameters.

Since

8.0.0

Parameters

mediaType

The media type (also known as MIME type).

charset

The data charset.

boundary

The boundary for multipart/form-data media type.